/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package erpretailx;


import erpretailx.Component.ControlPaneContainer;
import erpretailx.Manager.RetailManager;
import erpretailx.Manager.WorkSpace;
import org.jdesktop.swingx.JXPanel;
import org.jdesktop.swingx.JXTaskPane;

/**
 *
 * @author Al Quthsi
 */
public class Main {

    public static void main(String []args){
        JXTaskPane button1 = new JXTaskPane();
        button1.setTitle("Konfigurasi");
        JXPanel j = new JXPanel();
        button1.add("Aplikasi Setting", j);


        MainWindow a = MainWindow.getInstance();
        WorkSpace b = RetailManager.getWorkspace();

        a.setVisible(true);
        ControlPaneContainer con = b.getControlContainer();
        con.add(button1);
    }

}


